﻿using Handy_WPF.MVVM;
using HandyControl.Controls;
using Kxx_Common.Net;
using Kxx_Common.Tools;
using Kxx_Log.Log;
using Kxx_Services.DNS;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Handy_DNS.ViewModel
{
    public class TestViewModel : NotificationProperty
    {
        private BaseCommand testCommand;
        public BaseCommand TestCommand
        {
            get
            {
                if (testCommand == null)
                {
                    //testCommand = new BaseCommand(new Action<object>(o => {
                    //    Growl.Info("本机在Internet网络的广域网IP：" + NetHelper.WANIP);
                    //}));
                    //new DNSService().NoticeQQEmail("测试", "1");
                }
                return testCommand;
            }
        }
    }
}
